/*********************************************************************************/
/* Basic                                                                         */
/*********************************************************************************/

body, input, textarea, select {
    font-size: 14pt;
}

h2 {
    font-size: 1.5em;
    letter-spacing: 0;
    font-weight: 300;
}

.container {
    padding: 0 15px 0 15px;
}

.image.featured {
    position: relative;
    min-height: 10em;
    overflow: hidden;
}

.image.featured img {
    position: relative;
    height: 10em;
    width: auto;
    /*
        Stuff below is automatically calculated using JS. It sucks, but there
        doesn't appear to be a way to center the <img> inside its parent with
        pure CSS (since we don't know its width).

        left: 0;
        margin-left: 0;
    */
}

/*********************************************************************************/
/* Header                                                                        */
/*********************************************************************************/
#avatar-header h1 {
    margin-left: 20px;
}

/*********************************************************************************/
/* Main                                                                          */
/*********************************************************************************/

#main {
}

#main > section {
    padding: 2em 0 2em 0;
}

/*********************************************************************************/
/* Title Bar                                                                     */
/*********************************************************************************/

#titleBar {
    background: #364050 url('images/bg1.png');
}

#titleBar .title {
    color: #fff;
    line-height: 44px;
    font-size: 1.25em;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-shadow: -1px -1px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.25);
    text-align: center;
}

#titleBar .toggle {
    text-indent: -9999px;
    width: 80px;
    height: 60px;
    position: absolute;
    left: 0;
    top: 0;
}

#titleBar .toggle:before {
    content: '';
    display: block;
    position: absolute;
    left: 7px;
    top: 7px;
    width: 50px;
    height: 30px;
    background: #c94663 url('images/bg1.png');
    border-radius: 5px;
    box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.15), 0 0.025em 0.15em 0em rgba(0, 0, 0, 0.25);
}

#titleBar .toggle:after {
    content: '';
    display: block;
    position: absolute;
    left: 22px;
    top: 15px;
    width: 50px;
    height: 30px;
    background: url('images/mobileUI-site-nav-opener-bg.svg') 0 0 no-repeat;
    opacity: 0.75;
}

#titleBar .toggle:active {
}

#titleBar .toggle:active:before {
    background-color: #d95673;
}

#titleBar .toggle:active:after {
    opacity: 1.0;
}

/*********************************************************************************/
/* Recent event                                                                  */
/*********************************************************************************/
#recent-event {
    border-top: 1px solid #F0F0F0;
    width: 96%;
    margin-left: 2%;
    font-size: 0.8em;
}

#recent-event .item {
    height: 200px;
    overflow: auto;
    width: 96%;
    margin-top: -30px;
    margin-left: 2%;
}

/*********************************************************************************/
/* Post                                                                 */
/*********************************************************************************/

.box {
    width: 90%;
    font-size: 0.7em;
    margin-bottom: 30px;
}

.box:after {
    right: 0%;
    top: 0;
    content: " ";
    height: 0;
    width: 0;
    border-width: 0px;
    margin-top: 0px;
}

.box-time {
    display: none;
}

.box-time .date {
    margin-top: 5px;
    font-size: 0.75em;
}

.box-time .year {
    font-weight: 700;
    font-size: 0.75em;
    margin-top: -5px;
}

.line-of-time {
    margin-left: 10px;
    padding: 0;
    border: none;
}

.box-comment {
    display: none;
}

.sort-post {
    margin-left: -10px;
}